<?php
/**
 * 多语言翻译
 * Created on 2022/2/11 9:35
 * Created by 管昌虎
 * Email guanchanghu626@163.com
 */

namespace GuanChanghu\Models\Traits\Translatable;

use Astrotomic\Translatable\Translatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Support\Collection;

/**
 * Trait Facade
 * @method void changeBefore()
 * @method static string getDefaultLocaleString()
 * @method Model|null translationByLocale(string $locale = '')
 * @method Model|null translationDefault()
 * @method HasOne translationDefaultRelation()
 * @method static Collection translationManyByLocale(Collection $collect, string $locale = '')
 * @package GuanChanghu\Models\Traits\Translatable
 * Created on 2022/2/11 10:53
 * Created by 管昌虎
 * Email guanchanghu626@163.com
 */
trait Facade
{
    use Encrypt;
    use Translatable;
}
